Adding API tests using PHPBrowser