Clean up the join-along func
Adding api test for join along