exception test + fix