Add test settings and conditional import

We need a way to avoid having to comment in/out database and other settings when running tests.  Maybe this could be a way to do that?