Use TEMPLATE_DEBUG to disable minification

Removed render test since it wasn't testing anything anyway, so that should be revisited in the future.