Cleaned template test