Add test for validation of input produced by a source.