test joining with wrong data