Add PHPUnit tests for API nodes + services