Use static data for stream object in tests