test/ring: add functional tests for zero copy API