AFunctionalTest::CleanUp

Called to clean up when tests is removed from the list of active tests after finishing execution.