added test for RequireJS