AbTest: add a check for flags field (BugId:96148)