Test many-to-one mapping on independent tables