it "returns an array with only nil if yield is called with nil"