Add the test script from the dolfin-adjoint package and add an assert to the quadratic test.