Rename bucket config stubbing method
Test for querying data through the service-data endpoint

This is a duplication of the test_read_api_query_endpoint, as we have
two API endpoints that provide the same behaviour. This is a temporary
measure, thus this duplication should be short lived.