Integrating and testing an Application Insights query