wrapper for hypergeometric test