Add tests for catching using string name