Fixed some syntax in errors test