Excepions handling tested.