Added test for json node cursor for next function