More new tests for Loop

if you put the following three lines in a else branch, the test will run a little bit faster when the app was not installed