Updates to adjoint and derivative tests