Created tests on ManyToOne relations