Add missing jasmine test changes for #336