testing M:M join