loop test.