Added docstring to unit test function.