add working unit tests for User and Ticket, integrating with DBUnit