Adds test for getNeighbors.

Modified getNeighbors implementation to call array_values on filtered
neighbors output in order to re-index the array to start at zero. Depending on
where a child landed, the filtered neighbors would be missing the corresponding
index.  This change normalizes that.