REMOVED testing antipattern: test should not implement the same logic as the tested code
FIX Added Thread.sleep, in order to avoid causal test failures