update error tests