tweaked tests. fully functional first derivative