test join type