ISPN-2042 Add easy trace logging facility to the test suite
ISPN-4745 Cluster Listener TX Batch incorrect when sending multiple
events

* Fixed typo where the events were sent inside the for loop
Test that replaying a prepare command doesn't acquire the lock twice