tests now in require.js module