destroy component after test