Test models.py and tools.py