A homogeneity test applied to precipitation data