added emit_signal test