Added a test for a variant type which can hold any C++ object inside in
a type-safe manner