Kolmogorov-Smirnov, Cramer-von Mises and Anderson-Darling for the gamma

How I can do the Kolmogorov-Smirnov (one sample), Cramer-von Mises and Anderson-Darling for the gamma distribution in the Rstudio?
This is my try, but the results are incorrect also the Anderson-Darling and Cramer-von Mises this for normality test I want it for gamma.

#Kolmogorov-Smirnov Tests
library(stats)
ks.test(carsamp$veh_value, "pgamma", shape = a.est, scale = l.est)
# Anderson-Darling test
ad.test(carsamp$veh_value)
#Cramer-von Mises
library(nortest)
cvm.test(carsamp$veh_value)