added PID test to shared_examples