acceptance test for issue #4038

A staged acceptance test that verifies #4038 it doesn't verify any functionality in masterfiles and it does require a very specific policy to reproduce the issue. It contains file promises which don't do anything but for safety's sake it's been placed in staging so it won't actually run but at the same time it will not have been a complete waste of time writing it.