Add required options to template (for tests).

Also add more examples to the makefile_set and makefile_add params.