The test now tests that read-write splitting works both inside and outside transactions.
The test uses binary protocol prepared statements with cursors. The second part of the test will not pass as the test uses parallel execution of prepared statements.