test api with wine