Unit test for issue #35.