Added some simple C++ tests next to the C tests

The tests are exactly the same, they're just compiled with a
C++ compiler to make sure that works.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>