moved teardown command up to the parent class.