Template Builder logic and partial test