#818 unittests for failing empty jacobian