[SSSD] [sssd PR#642][synchronized] TESTS: Fixes to test library and add new test case for kcm.