ticket:10 add tests
ticket:10 add signals handlers
ticket:10 Merge branch 't10_nethen'