Added check for message version and type name.
Added tests subproject.