lb: make test more reliable