Cleanup configuration.

Add more tests for the repo initialization.