add payload unit tests for lang tag

Basic tests for the currently unimplemented <lang> tag (#317). Hopefully this will drive support for <lang> implementation.

I'm not sure how we want to detect valid BCP47 languages, maybe @rillian, @RickEyre, or @caitp have some ideas.