fix test tear down