JBTM-2163 Update to add tm.begin() and tm.commit() in the test