private static String getErrorMessage(Result result) {
        return result.hits().getError().getDetailedMessage();
    }
Tests significance term in the search chain.

@author MariusArhaug
container-search/src/test/java/com/yahoo/search/significance/test/SignificanceSearcherTest.java