Add unit test for JWS format of JSON signature

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)