add test for TextAdvertisement