Updated ApplyAclTestCases and modified helper method