Add test for has_one association join