             }
             XCTAssertEqual(timeslice.type, "timeslice")
             XCTAssertEqual(timeslice.field, "publication_date")
-            // interval is not yet documented in the swagger specification
-            // XCTAssertEqual(timeslice.interval, "12h")
+            XCTAssertEqual(timeslice.interval, "12h")
             XCTAssertNotNil(timeslice.results)
             XCTAssertGreaterThan(timeslice.results!.count, 0)
             XCTAssertNotNil(timeslice.results!.first!.key)

                return
            }
            XCTAssertEqual(nested.type, "nested")
            // path is returned by service but not yet documented in swagger specification
            // XCTAssertEqual(nested.path, "enriched_text.entities")
            XCTAssertNotNil(nested.matchingResults)
            XCTAssertGreaterThan(nested.matchingResults!, 0)
            expectation.fulfill()

                return
            }
            XCTAssertEqual(topHits.type, "top_hits")
            XCTAssertEqual(topHits.size, 1)
            XCTAssertNotNil(topHits.hits)
            XCTAssertNotNil(topHits.hits!.matchingResults)
            XCTAssertGreaterThan(topHits.hits!.matchingResults!, 0)
            XCTAssertNotNil(topHits.hits!.hits)
            XCTAssertGreaterThan(topHits.hits!.hits!.count, 0)
            expectation.fulfill()
        }
        wait(for: [expectation], timeout: timeout)
