made some editions in the test loop
still only visual test on device for debug of flow..