added an extra test in database.py