[PATCH v2 04/10] mf/tests: Introduce a new load_resource helper.