added test for postData, added gloable tag