pig test working