remove old loop method, inline new method
move from unittest to iris.tests