removed try catch block from test