add class method to mocks clear_mock, clear mocked methods and deletes all records