modified test case for prob1