Added TemplatedControl tests.