improve assertion on wrong number of errors