Failing test: 'on' cannot be combined with named listener