add test case for unexpected validation error (with a TODO for now)