Added random ID generation test