Testing of routing behavior with master_failure_mode=error_on_write and allow_master_changes=true. By sending an error instead of closing the connection when the master fails, the connection can resume execution if a new master becomes available.