[PATCH 2/2] tests: Check that derivatives are still computed after discarding.