added test_memoryerror