ENG-4537 Fix JUnit tests after COW stream refactoring.