fixed and updated tests for setting logo images. Fixed test bug from updating default email templates.