Text this: Aspects of the Chi-square and Kolmogorov-Smirnov goodness-of-fit tests with special reference to the continuous case