This should be `context || listener`. A test is required to capture this behaviour.