Add test for DerivativeMaterialInterface (#4299)