added test for problem 27