its sample test of api implementation