karma's requirejs adapter isn't adequate for handling requirejs relative paths; this is a workaround for that.