Testing an implementation of Google optimisation.