added test for join