Add test for worksforme bug 6405.