Added tests for the exceptions being thrown as a result of templates not being found.