Add test demonstrating bug 17235