tests: Add a test of mfsmetarestore -a

This test verifies if the call 'mfsmetarestore -a' generates a valid
metadata file in many possible cases, eg. when metalogger's data is
newer than the master's data, or otherwise.