How Did Mammals Evolve Into Their Ecological Niches Through Time? Quantitative Tests For Classic Macroevolutionary Questions