added test_anonymity() in identity_generator.py