improving spec for issue 347