[PATCH v3] selftests: cachestat: add tests for mmap Refactor and enhance mmap test for cachestat validation