fix ESclient Test with decision branches