Test case for bug 828780; r=jdm