Repeating a test till the user pass the test