query-tool: discard test expect functions
query-tool: allow opening of connection to server