adds destroy method and test