Fix MonolingualText DataType building and add tests

Change-Id: I85fdcaa86f74a0a34ac57f16514399f67a6a9892
Merge "Fix MonolingualText DataType building and add tests"