add docstring for test case