Add test for view helper.