improved esper threading test