added the test solution