Tests of the random network model, and its application to basin hydrology