Early universe cosmology and tests of fundamental physics