write-commands: perform command splitting with insert write command.
tests: add basic write command test with splitting.