JBQA-8350 - Implement tests for the Remote Queries feature

New tests are added testing the Remote Queries functionality. 2 of them are disabled till the corresponding bug would be fixed.