fix bug
update unit tests
add some examples
update debian setup