Fix test() method.