Fix duplicate function name in test_results_db.py