Adding something that isn't an Array is an caller problem not a callee. And yup, it is missing tests for index :-( (poor excuse: we are not passing index at this moment - that functionality is there just for consistency) 