Added a check for errors when not passing a string to the render method
Added a check for errors when not passing a string to the render method
Added config, tests, and file checks