fixes #782 Get this test working. What a pain.