test returning unique id