changed memory-fail-testing strategy