basic random test working