Test email subject creation