Fixed unit tests after parameter validation changes