Add unit tests for TupleType (refs #4)
Add unit tests for RelationType (refs #4).