Added tests for AddParametersToCommand using explicit types