ContentHandlerSanityTest test case testMakeEmptyContent assumes that every content handler can create empty content. Wikibase, however, produces this exception:
MWException: Cannot make an empty EntityContent, since we require at least an ID to be set.
This needs to be reconciled by either removing the assumption on the test or fixing the wikibase content handler to be able to produce it.