added test for problem 29