repository: make test more reliable