Easy way to mock dependencies for requirejs in karmajs