Corrected valid identifier test case.
Updated to throw ParseError for actual parse errors instead of a generic Error.