Fixed copy and add testDerivatives