test of the api