Tests for DeriveParameters added and OUT parameters removed

Test for DeriveParameters added as well as code to remove OUT parameters (from the names and directions arrays) because they are not considered in function signatures.