db.py delete test