updated pig test