Add unit tests for issue #92.