Tests for issue #52.