Removed old test for pattern and fixed renderWidget string