fixing the pid check test