ticket:3 writting tests