test for solution