Templated key tests