add examples, tests
add tests
Merge branch 'unstable'
upd gitignore