Added a templated test.