Added some logging SimpleDBUtils and refactored IntegrationTest a bit