added tests for passing require() to context