Some test for rest api