database.py test