Added writeFullData for easytest-codegen purpose