set test query and connection timeout