bring back get_test_db_name from PR #172