polish exceptions testing