(unfinished) test service functions

Change-Id: I3f4628b8dd55fa7819e7b697fe621861a582bbbc
Merge branch 'set-conf-dir' into dt-test
Merge branch 'test-service-functions' into dt-test