jasmine.CodeLookupCall getByKey returns a promise which will be rejected if key doesn' exist (from jasmine.specs)