Add test of empty join