Added tests for invalid length base64 strings
Added test for non-JSON JWS headers