Add Trusted Query test coverage.