Add all core testing infrastructure

Adds all core automation and some testing harnesses.