Refactored test data to always internally be represented by a stream.