Implement TestDirectStore class in test_results_db.py.