Fix MemoryHunk.__repr__

Add tests for MemoryHunk.__repr__