The Relative Efficiency of Goodness-of-Fit Statistics in the Simple and Composite Hypothesis-Testing Problem