Making better the script

Randomizing email.
Adding order to the test. (Namespace)
Adding set interval.
Opening and closing the db connection.