Improved tests.
Added API unit tests for the XDSbService.