updated tests, including requirejs support