Fix regression in RailsIntegrationTest. Improve RailsIntegrationTest, ViewHelperTest and RenderTest