Add tests for all the values defined in RFC 6238
Fix code generation for digests != sha1