Performance Test: Cleanup code and second test that avoids calling memcpy in the testing infrastructure.