Add test for doing multiple transforms of the same document