Add: few tests for the ProxyQuery class