Updated Query Builder tests
Fixed QueryBuilder Having issue