it "returns an empty array if yield is called without arguments"