changed random_name_generator_test to remove class