add unittest for restart
fix CAF::Service OS flavour
Merge pull request #1 from stdweird/jrha-restart-cdp-listend

add unittest for restart