Ensure unit tests still work.

Hello! I've been using your userdata patch in my projects and noticed that the unit tests were not amended with the new fixes. Hopefully this will increase the appeal to the upstream maintainers.