tws api test