Testing the service wrapper.

Added a few basic tests for the service wrapper. 
(also, added a test for controller/doc (tech debt))