added integration test for trusted range query