added test for unwanted iteration
added test for unwanted iteration

RitwikGupta/pygr,cjlee112/pygr,cjlee112/pygr,theoryno3/pygr,cjlee112/pygr,theoryno3/pygr,cjlee112/pygr,RitwikGupta/pygr,GenDataPro/pygr,GenDataPro/pygr,theoryno3/pygr,RitwikGupta/pygr,GenDataPro/pygr