frontend: fix: make test case work on empty pools.