Added a test for random id collision