Development of an unbiased statistical method for the analysis of unigenic evolution