adds spec for untested branch of logic