Added docstring to test