More work on DB connection test

Moving methods around, preparing for inevitable refactor to use same methods on the actual non-test action
Implementing xpath searching for local xml file that is pulled from server

Adding missing file