enhance integration test
enhance ordering for transactions