The Kolmogorov-Smirnov goodness of fit test for discrete extreme value distributions