Allow to define number of tries of a test before it passes