Update cacheFactorySpec.js

Fixed the matcher.