ADD more unit tests for src.api_data.query_api