Adds tempest tests on ReST API query

Partially implements: bp tempest-rest-api-tests
Change-Id: Icd3427fc39cfae60beb6d516a25c216d91b659b7
Merge "Adds tempest tests on ReST API query"