Fix test method.