Add phpunit to dev requires
Add test coverage for the main api calls