Tests

no news.txt

Fix tests in the buildbot and fix to compute_test_value with grad().