added test case for ticketdao
test cases for dao and presistence added