Add tests for Loop(). Update import paths.