pq test cases modified