bug fix for offheapstore.
Test classes are refactored and OffHeapCachePerformanceTest is added.