[MONDRIAN-1572] added ManyToManyTest to test suite, fixed class cast
exception.