Added simple loop test.