added comments for phpdocumentor
added comments for phpdocumentor
Added additional test cases