add test methods to class Streams