To test, open the DevTools (Ctrl+Shift+I) and reload the page. When the debugger breaks, select the (anonymous function) node in the call stack, you should see the execution line on the call to test().

Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.