Move ManyToOne tests in a separate testcase class.