added config object to store sql settings; refactored quantum-integration test method chain to properly wait for insert callbacks to complete before calling done()