Add tests for sendemail.cc configuration variable