add destroy method, add destroy test