test runs with require.js