cpp: Convert all tests to tables