adding destruction to tests