fix phpdoc
update tests