add test for issue #163