improvement: S3C-4312 backport + adapt ObjectMDLocation unit test
improvement: S3C-4312 backport + adapt ObjectMDLocation unit test

Backport and adapt to 7.x branch the ObjectMDLocation unit tests from
development/8.1 branch

scality/Arsenal,scality/Arsenal