test polling with parameterized branch