fixed test for Exceptions.