Fixed error tests