fixed 2D deriv tests