add render and remove unit test for View