setResourceLimit()
Updated tests