Updated tests to reflect changes in input validation.