Fix UT crashes. KSync::Init and KSync::InitTest should be mutually exclusive.