Fix possible memory corruption in tests.
stop line 55
erase
erase
erase
erase
erase
erase