Add test covering id generation in xmerl_dsig:sign