Add test for bug reported in forum.