Add unit test to make sure docstring and name are on wrapped function