Improved the robustness of the createDataTypes unit test.