Added tests for optimisation.util