Improve test coverage for view helpers.