added rng to double exponential with basic test