[TEST] Added test to check error rendering