Added LoadName to load a config by database name

Added some test cases to test overwriting old values when equal
keys are used.