Cleanup of tests and added extra tests. Also added utility methods
Added tests for sendMails
Added AsyncMailerTests
Added result information when closing the connection failed
Cleaned imports and started on SessionTests