Add test for join model dup