ticket:3 add tests