Fix functional word test case