Added test for randomization email