added unit test for issue 925