Add Test function to test the JestClient to build and search index.