Rename TestSpec and release memory after each test run