Add test case for #951.
Merge pull request #977 from jails/bug/record-hydratation

Add test case for #951.