Acceptance test for bug #3852.

Draft acceptance test for Redmine bug #3852, as per request by Ted Zlatanov in the comments.