set up phpunit and started model for api calls