added docstring to unit test