Added a test for join