move the test cases of problem 3