rand expression tested