Add unit test for creating a ticket with DueAt.

Add checks for CreatedAt, UpdatedAt to existing ticket creation test.

Made CreatedAt and UpdatedAt optional.