HW5: 1_d added new test cases