add unit test for issue #70