updated mod_test to access process table directly