We started doing functional tests again? Someone should probably convert test_db_api.py since it's a horrendous unit test that would look good as a functional test.