Added helper function for decoding and simple a benchmark

- function from_buffer, from_owned and from_iter
- benchmark encoding/decoding vec of uints
- work to reduce test code duplication