Fix broken pid test