fixed try\catch in the Test class