cpp: add test for posarg separator