change test cases to match updated error handling