Fixed helper method and changed GetContentStreamTestCases