Giovanni Mascellani : tests: Check that derivatives are still computed after discarding.