randtest added