Move stub_config to test_helper
Move TestRepo branches to options hash