Add initial tests for the rand module
test that generated ids are unique