ticket:10 added tests