add test for issue #52