Adding shared specs for case when excetion was thrown during UoF