wrong test on branches number