A few more c++ test examples

Summary: Add more c++ tests

Test Plan: make test

Reviewers: mathieubaudet

Reviewed By: mathieubaudet

Differential Revision: https://phabricator.fb.com/D1408738

Tasks: 3964417