Completed tests for next()