Fix Bug: remove wrong solutions and add test.