updated test to produce unique keys