Added templated test
Forgotten what I've done here