libmemif: add testing application