[test] Add HISTORY entry for test.next()