cpp: test: Remove typename to make older GCC versions work