fix max poll count test