refined existing test and added mocha example for swisssearch