cleanup error tests