Added additional tests for where-chaining.
Must honor group by, having, limit and offset for exists.
Added additional tests for count and exists.