Added last error tests