Added new tests for views and layout rendering