Somehow it works in practice but not in the tests