New valid jws regex and tests adaptions