loop tests pass