added test docstring