bring back get_test_db_name from PR #172
Merge pull request #173 from dannyroberts/get_test_db_name

bring back get_test_db_name from PR #172