Added testConflictingOptionalParameter and testConflictingSwitchParameter