Unit test for offheap cache is added.