Removed incorrect begin/rescue block from test cases