test return value of splicing past the end of the array