Made it possible to have integer random variable names and values. Also made tests