add test on join