Fixed incorrect jasmine matchers in cache-spec

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>
Fixed problems in getKeys

The filter callback was not returning the value, just calculating it.

Signed-off-by: Gideon Farrell <me@gideonfarrell.co.uk>