Modify to perform test of destroy method.