[PATCH 5/5] Update unit test to support multiple memory backends