Added two tests to improve code coverage
Added test for renderElements()
Added compileForm() method that render() echos the output of so I could easily test what happens in compileForm().