Fixing command exception throwing, fixing validating additionalParameters, adding validation tests. Closes #43