added unit test for issue 69