magic syntax discovered for testing the destroy method in the controller