add a better test
encode
example
0.0.1