cleanup emit_signal test