add TestMemoryPortInterface class which is designed to replace L0CacheBuffer in