tests for ticket show view
code and tests for ticket show view