added comments to classes and tests