Updated pi-lite-test to make a loop