test(jwcrypto): add unit test for generating an assertion