Add a simple unit test for MemoryBuffer::getOpenFile