phpunit added as dependency
added phpdoc, using convert method in toSomething methods