Testing tables (migrations) and relationships between them