Refactor integration tests to find a missing PID