Add tests for view helpers