Wrote tests