moved complete test api to TestConfig
update the endurance test