Remove asserts on client._contextFactory

API has changed in Twisted 14.0.0 and this attribute doesn't exist
anymore. We should come up with a better way to test this.