Add useful helper function.
Test Merge behaves correctly with empty slice inputs.
If we exceed slice length, just copy data.

Fixes dumb bug where I was accessing ns1[i] when it was possible for i
>= len(ns1).