make tests expect errors