test for cache classes rather than environment
Merge pull request #90 from Dkendal/spree-cache-classes

test for cache classes rather than environment