added usage checking for reserved functions.  Edited copy of pTest.c