Wrote tests for tickets