#608 -- tests to cover multi-to-multi insertBefore/insertAfter cases