updated test.h for runprogram to accept arguments