Test constructors classes with variables of complex kinds