Tested that nodes properly throw an IndexOutOfBoundsException.