Unit test to try to isolate bug 839828.