Added docstrings to issue 7 and 157 testcases