add spec for not duplicating errors