Added comments, Fitted sample unit test code of TA Horne