Revert "Fix more tests"

This reverts commit fc7c4e095064be6fc5ffca3a0da5f440e0fe15a6.
Use Thread routines instead of "ps | grep ..." in JRuby