fixed issue with elasticsearch dependency in test