Update test_typing to use HomeserverTestCase.