Added test case that checks than data doesn't change during changing node types