make test pig instance reusable