add test for ad