ticket:4 tests for ticket