added additional test program and output