Fix test in error