Fix test fails when using a non-requirejs loader.