Add random loss test scripts