Hypothesis testing for homogenous of nodes in $β$-models