Adding renderSync function, updating tests and docs
Adding exception throwing code and relevant test