Added tests to the mailscanner bundle