Added validation logic for ApplyTestConfig command