Fix up federation tests
event <-> pdu mappings are now trivial and will soon be scrapped
Fix tests.handlers.test_directory
PEP8
Don't bother locking
Fix federation handler tests. I've removed the invite/join dance ones as they are completely out of date.
Fix room handler tests
PEP8
Fix auth checks to all use the given old_event_state
Fix Federation test
Fix presence test
Don't execute empty tests. Formatting.
Fix presencelike test
Fix profile tests
Fix room tests
Fix typing tests
Get correct prev_events
Fix redaction storage test
Remove stale tests
Fix a couple more storage tests