Use Process.getgpid for tests as well...
Add diagnostics for travis ci