Smtp testing correction with default value for task