userprog: separate test 'program' out to userprog.c