Adding unit test for VariantType