Add outer-loop tests support
Merge pull request #212 from krwq/OuterLoopTests

Add outer-loop tests support