ensure sender is nil in test