Tests for issues #1.