added test for derivatives with unit conversion