Helpers that aid in unit tests for simple-stream based projects.