Update cacheFactorySpec.js

Added unit test for peek()