Wrote some specs for the 'cache-factory' module