fix queryBuilderTest
refactored Client.query; add configure lambda to connect