Fixed a typo in expected errors