Further implementation of the new security strategy

test that the next id is different