Add: Functionality to work with unit test on karma+requirejs