added test for problem 42