refacto: update packages
test: add missing unit tests
test: add samples