add tests which covered tickets controller