added query builder tests, #38 #39 [ci skip]