Added random_string()
Removed testing code from module.