To test the sample api