Add pkg unit test coverage for get sysd commit fn