Digital single-output sources and tests.
Digital source base class and an arbitrary digital source class, with all tests.
Merge with digital sources.