Unit test OutputManager.register_action() and actions().
Unit test OutputManager.register_action() and actions().

Also fix a bug from my refactor that the unit test picked up.

rcbops/opencenter-agent,rcbops/opencenter-agent