Fix test cases #8.