Added tests for form rendering