add payload unit tests for lang tag

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