Simplify listener test setup