updates test cases to reflect new error messages