test case for issue #7 of dsjslib

Test case for issue #7.