Fix karma config for requirejs,  initial tests