Added example script
Added random test