automate kstesting