Implemented splice.
Noticed an error in the splice test error reporting code. The res2[] was never used, leading to misleading expected data for testList2.