Fixes to test after recent jasmine update.