Added test case for DoctrinePersister
Made persister option nullable
Check for mailer service definition
Updated DIC test cases