test-dpi: Add test for Flowdict