Fixed smtp tests