Add fixture tests.
tests: Move mock message handling into MockClient.