added a pig unit test