More local optimisation tests.