Add constructors with tls.Certificate, fix tests