Backport loadtests for 0.9.x