Added template tests.
Fixed numbering.
Some tests are skipped because templates not implemented yet.