test render template and using the reloader