Add unit tests for Service class

Signed-off-by: Michael McCracken <mike.mccracken@canonical.com>