unit tests for parseDataType and parseModel