Tests for issue #102