update readme and add phpunit