requirejs with working karma tests