Fix formatting in tests.
Add tests from master.
Automate test list generation.