API CMS PHPUnit tests