[PATCH 2/2] tests: Destroy domain object properly