Tests for issue #108