had pid test inverted