modified error tests