Stop passing around dicts in validation resources

Create and cleanup both expect a dict as input. Even though the
expected content of the dict is documented, using dedicated args
makes the interface easer to use and to test.

Change-Id: Id8dca4244008d5944dfd8ba32ce1a726b4fda973
2 files changed