selftest routine doesn't need to be templated anymore.