add tests for memoryMb