fixed 3rd order deriv tests for all other functions

except gamma_p,gamma_q,binom_coef_log,Phi_approx,sign,