Improved variant and variant tree (better exception raising and small fixes). Added more test for Variant subpackage