Porting test case

Dynamo.Tests.SerializationTests.TestVariableInput (MAGN-1776)