jQuery include?

jQuery include?

Hey, i have a little problem..

i include 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>
<script src="js/test.js"></script>

and it works but if i try to use jquery in the test.js file it didnt work, some idea what i can do or why it is? 
not even $(document).ready(function(){ alert('bla'); }); (in js/test.js) works.. so im sure thats something wrong with how i included jquery, or?