fix exception test