Add tests to ViewHelper.