Add specs for next_id