Add tests for creating tickets