Fix give() creating zero-count piles; add test case
Fix give() losing tags when merging into empty slot