A test of the metapopulation model of the species–area relationship