templated tests for all Lie groups