fixed the retrieval of applied tags info
finalized testcase