Got loop-test working