This test is just a cut and paste from the existing BatchWithTMTest, so the comments are Mircea's