Fix failing test cases. Use TransformResult.result to obtain HTML string for test comparisons