unit test fixed
fixed optimiser