Fix test_location unit test

Fix a test_location unit test to check Bucket Location
according to actual S3 supported API. In addition, Add
one more unit test to check the 'location' config value will
be returned correctly.

Change-Id: I12788e57d5a753273281f1c89ec5809d68aa55a0
Merge "Fix test_location unit test"