test program for lab4