finish testing environment