Add default config and test setup.

Note: I've reset our master to point to upstream master before issuing this PR.

This adds some default config for development, and sorts out the test prepare tasks.