add spec for issue #447