Use requirejs for tests