Fixing CQL Filtering tests

The merge 0dc4406899a1884564a7f77683e26c42416c07e0 from v1.2
to v1.3 broke the API tests because _build_tree_search_result
functions differently in v1.3. In v1.3, this function adds a
little bit of whitespace to the CQL strings not present in
v1.2. Changing the tests accordingly.