cpp: add basic pod test for transformer