Tests: Adding loop test.