added tests.py for name duplication testing