[LoopAccesses] Remove unused global variables in tests