Add affinity groups automation testcases.