Added server check to memcache related test
Refactored data providers
Merge pull request #4758 from nibra/test-memcache

Cleanup of JCacheTest