Templatized and tested