test to test the api