More tests and improvements to doctrine bundle
Improve code for default connection
Remember to register swiftmailer provider