Cleanup test and output