minor tests.py