Added docstrings, setUp() to sample test case.