Writing tests for 1d localisation using Canonical Gaussian.