HistoricVariableInstanceTest: added testChangeType.