Fix test exception.