Writing tests for fheap