Convert tests to use `HomeserverTestCase`.