added unit tests for sysconfig and init script