adding new test for problem 9