test cases for week2 hw