added testKSInstrumentAPI