small fix in ad tests