Add differential_type, to test for non-differentiability
#528
+51
−2
differential_type, to test for non-differentiability
#528