Added many-to-one mapping with test.