Templated classes clone unit-testing