split/merge fully tested