fix of exception test