Update phpdocs
Fix unit test