Updated unit tests to be more sensible and robust
EMPeriodicGaussian now passes all unit tests