tests: memif interface tests using libmemif