This function performs a number of gof tests and finds the adjusted p value for the combined test
Useful links