API tests for creating and listing tickets