- added testcase for LB-1127;
 - added additional check for existing ad testcase;
 - generalized inside ad test testcase.