updated RepositorySelectorTest to check for the saving of the last primary repo
updated RepositorySelectorTest to check for the saving of the last primary repo

Sumei1009/HubTurbo,saav/HubTurbo,ianngiaw/HubTurbo,Honoo/HubTurbo,Sumei1009/HubTurbo,ianngiaw/HubTurbo,HyungJon/HubTurbo,gaieepo/HubTurbo,saav/HubTurbo,HyungJon/HubTurbo,Honoo/HubTurbo,gaieepo/HubTurbo