Added zero constants for each sample format.
Added first test for source's generate.