ticket:1 Wrote tests