Refactor the unit test for MemoryBuffer::getOpenFileSlice