PHP scripts for random testing