testing Api.execute