Added test that ids stay unique