Refactor delete_goo_models into TestCase.