fix tests due to change to requirejs