anchor.diff:  -ifdef(TEST).
   -include_lib("eunit/include/eunit.hrl").
   
  -% Perform minimum block unit test
  -
  -block_test() ->
  -  unit_test_utils:min_block_test(?MODULE).
  -
  +block_test_() ->
  +  {"Input to Output tests for: " ++ atom_to_list(?MODULE),
  +   {setup, 
  +      fun setup/0, 
  +      fun cleanup/1,
  +      fun (BlockState) -> 
  +        {inorder,
  +        [
  +          test_io(BlockState)
  +        ]}
  +      end} 
  +  }.
  +
  +setup() ->
  +  InitConfigVals = [{num_of_inputs, 10}],
  +  unit_test_utils:block_setup(?MODULE, InitConfigVals).
  +
  +cleanup(BlockState) ->
  +  unit_test_utils:block_cleanup(?MODULE, BlockState).
  +
  +test_io(BlockState) ->
  +  unit_test_utils:create_io_tests(?MODULE, input_cos, BlockState, test_sets()).
  +
  +test_sets() ->
  +  [
  +    {[{select, "bad"}], [{status, input_err}, {value, null}]},
  +    {[{select, 0}], [{status, input_err}, {value, null}]},
  +    {[{select, 1}], [{status, no_input}, {value, null}]},
  +    {[{select, 1}, {{inputs, 1}, 1}, {{inputs, 10}, 10}], [{status, normal}, {value, 1}]},
  +    {[{select, 10}], [{status, normal}, {value, 10}]},
  +    {[{select, 12}], [{status, input_err}, {value, null}]}
  +  ].
   
   -endif.
positive.code:   {ok, NumOfInputs} = attrib_utils:get_value(Config, num_of_inputs),
  
    case input_utils:get_integer_range(Inputs, select, 1, NumOfInputs) of
      {error, Reason} ->
        {Value, Status} = input_utils:log_error(Config, select, Reason);
  
      {ok, null} ->
        Value = null, Status = no_input;
     
      {ok, SelectedInput} ->  
        case input_utils:get_any_type(Inputs, {inputs, SelectedInput}) of
          {ok, Value} ->
            Status = normal;
  
          {error, Reason} ->
            {Value, Status} = input_utils:log_error(Config, inputs, Reason)
        end
    end,
     
     Outputs1 = output_utils:set_value_status(Outputs, Value, Status),
  
negative.code: initialize({Config, Inputs, Outputs, Private}) ->
    % Check the config values
    case config_utils:get_integer_range(Config, num_of_inputs, 1, 99) of
      {ok, NumOfInputs} ->      
        % All config values are OK
                
  