Please add more test cases. Some things to test:

f(function(){})
function foo(){}
(function(){}())