Added tests for View rendering