bug fix in parseSolution(), modified unit test