test cases for ActionRegistry and CommandHandlerClosureAdapter added.