added test for Join