testing instance.py