add test spec for fix of issue #255