add spec for form errors helper