Fixed deciding the test index for valgrind output rows. Previously it was assumed that all pids are incremented by one, which obviously does not hold... so now the increment can be however large, but they are always assumed to be in an increasing order.