Testing utilities for SDX functionality.

Some testing utilities (very basic, to be expanded in the future).