Fix: don't run DB tests on TeamCity
Minor: make sure tables were created