Bartlett and Diamanda test