Added unit tests for Relation module. Switched back to using array-based tuples because 1. the original arrays from reading the CSV files can be used directly, and 2. lookup always uses integers (with object-based tuples, lookup may be performed using long column name strings)