Fix test-cases.