add validation on creating ticket and cover by test