added few edge and negative cases to the signature spec