Made sure that RequireJS can be used in tests.