can successfully save a pet object to the database