added test for problem 46