Tests for issue #26