fix(test): fix api changes on jasmine