Try catch exeption
Add test