[PLAT-4353] Adding tests for non-deprecated toDerivative methods