Test for RandomName feature