Fix a test for emitter