ticket:1 add tests