This test makes sure JS can enter a function directly without first executing global code.