Move patch_policies in obj server tests

By hoisting this stuff up into a decorator, it leaves the bodies of
the test methods less cluttered and easier to read.

Change-Id: Ifa049bd13d2ef48d07d98ddc2ad2fe8b6513b5d4
Merge "Move patch_policies in obj server tests" into feature/ec