Testing stuff for memory_error