Add ulimit testing fix

[skip ci]