added some test for tank rest api