test cases for program