add phpunit and some requets-response code