add Catch for test