Is there something more specific you could test for here so you know you're getting the error you're expecting?