[PATCH v2 8/8] Add unit test to support new 'file' type NVRAM