[PATCH v3 5/5] Add unit test to support new 'file' type NVRAM