Tests for CWG issue 165-170.