Updated test infrastructure.
Sampling from the exponential distribution seems to be not too-well behaved.
Small tweaks to the sampling from EM.