Dev/fix example tests yaml

- fix example
- fix yaml package import (use `gopkg.in/yaml.v1`)
- fix tests